home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- # This script is an attempt to auto-detect your wireless card...
- # Hope this will work for all cards.
- # Please report bugs to pentoo@pentoo.ch
- # This is ugly, if you have something better give me a mail
-
- iwconfig > /tmp/wificard
-
- cat /tmp/wificard | grep "IEEE" > /tmp/wificard
-
- WIFI=`cat /tmp/wificard`
-
- if [ ! -n $WIFI ]; then
- lsmod > /tmp/wificard
- if [ -n grep "orinoco" /tmp/fiwicard ]; then
- ########3
- fi
- if [ -n grep "orinoco" /tmp/fiwicard ]; then
- ########3
- fi
- if [ -n grep "orinoco" /tmp/fiwicard ]; then
- ########3
- fi
- if [ -n grep "orinoco" /tmp/fiwicard ]; then
- ########3
- fi
-
-